home *** CD-ROM | disk | FTP | other *** search
- stop();
- var yinc = 3;
- var down = false;
- _parent._parent.enemy_array.push(this._name);
- this.swapDepths(100 + _parent._parent.dep++);
- onEnterFrame = function()
- {
- if(Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) <= 20)
- {
- down = true;
- }
- if(down == true)
- {
- this._y += yinc;
- yinc += 0.5;
- }
- if(this.getBounds(_parent._parent).yMin > 450)
- {
- this.removeMovieClip();
- }
- };
-